package cn.yj.core.business;

import cn.yj.common.JedisUtils;
import cn.yj.commons.utils.StringUtils;
import cn.yj.config.web.AppBaseController;
import cn.yj.entity.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 永健
 * @since 2022-03-04 10:04
 */
@RestController
@RequestMapping("/test")
public class TestController extends AppBaseController {

    @GetMapping
    public R test(){
        String lock_value = JedisUtils.get("lock_key");
        if (StringUtils.isBlank(lock_value)){

        }
        return success();
    }
}
